@charset "UTF-8";
body.dark-theme {
  background: #121212;
  color: #ffffff;
}

body.dark-theme .ant-input, body.dark-theme .ant-input-affix-wrapper, body.dark-theme .ant-input-password {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

body.dark-theme .ant-input:hover, body.dark-theme .ant-input:focus, body.dark-theme .ant-input-focused, body.dark-theme .ant-input-affix-wrapper:hover, body.dark-theme .ant-input-affix-wrapper:focus, body.dark-theme .ant-input-affix-wrapper-focused, body.dark-theme .ant-input-password:hover, body.dark-theme .ant-input-password:focus, body.dark-theme .ant-input-password-focused {
  border-color: #1976d2;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

body.dark-theme .ant-input .ant-input, body.dark-theme .ant-input-affix-wrapper .ant-input, body.dark-theme .ant-input-password .ant-input {
  background-color: transparent;
}

body.dark-theme .ant-input .ant-input-suffix, body.dark-theme .ant-input-affix-wrapper .ant-input-suffix, body.dark-theme .ant-input-password .ant-input-suffix {
  color: #a0a0a0;
}

body.dark-theme .ant-btn-primary {
  background: linear-gradient(135deg, #1976d2 0%, #3f51b5 100%);
  border: none;
}

body.dark-theme .ant-btn-primary:hover {
  background: #166ABD;
  box-shadow: 0 0 20px rgba(25, 118, 210, 0.4);
}

body.dark-theme .ant-btn-link {
  color: #42a5f5;
}

body.dark-theme .ant-btn-link:hover {
  color: #6CBCFF;
}

body.dark-theme .ant-divider {
  color: #a0a0a0;
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .ant-divider::before, body.dark-theme .ant-divider::after {
  border-color: rgba(255, 255, 255, 0.1);
}

.login-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.login-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.login-background .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.9);
  z-index: 1;
}

.login-background .light-effect {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 1;
}

.login-background .light-effect.light-effect-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: #1976d2;
  animation: pulse 15s infinite alternate;
}

.login-background .light-effect.light-effect-2 {
  bottom: -15%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: #3f51b5;
  animation: pulse 20s infinite alternate-reverse;
}

.login-content {
  display: flex;
  width: 1000px;
  max-width: 90%;
  height: 600px;
  max-height: 90vh;
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.8);
  z-index: 10;
  position: relative;
  animation: fadeIn 0.5s ease-out;
}

.login-brand {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  padding: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.login-brand::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.7) 0%, rgba(63, 81, 181, 0.7) 100%);
  opacity: 0.85;
  z-index: 1;
  transition: all 0.3s ease;
}

.login-brand::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 55%, transparent 100%);
  z-index: 2;
  animation: brandShine 8s infinite;
}

.login-brand:hover::before {
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.8) 0%, rgba(63, 81, 181, 0.8) 100%);
  opacity: 0.9;
}

.login-brand .brand-content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
}

.login-brand .brand-content .brand-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  position: relative;
  transition: all 0.3s ease;
}

.login-brand .brand-content .brand-logo::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  z-index: -1;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

.login-brand .brand-content .brand-logo:hover {
  transform: translateY(-5px);
}

.login-brand .brand-content .brand-logo:hover::after {
  opacity: 1;
  transform: scale(1);
}

.login-brand .brand-content .brand-logo:hover img {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(25, 118, 210, 0.5);
}

.login-brand .brand-content .brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
}

.login-brand .brand-content .brand-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.login-brand .brand-content .brand-title::after {
  content: '';
  position: absolute;
  left: 25%;
  bottom: -5px;
  width: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.login-brand .brand-content .brand-title:hover::after {
  transform: scaleX(1);
}

.login-brand .brand-content .brand-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.login-brand .brand-content .brand-features {
  margin-top: 60px;
}

.login-brand .brand-content .brand-features .feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-left: 20px;
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.login-brand .brand-content .brand-features .feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
  z-index: -1;
}

.login-brand .brand-content .brand-features .feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 45%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 55%, transparent 100%);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.login-brand .brand-content .brand-features .feature-item:hover {
  transform: translateX(5px) scale(1.03);
}

.login-brand .brand-content .brand-features .feature-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

.login-brand .brand-content .brand-features .feature-item:hover::after {
  opacity: 1;
  animation: featureShine 1s forwards;
}

.login-brand .brand-content .brand-features .feature-item:hover .feature-icon {
  background: rgba(33, 150, 243, 0.2);
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(33, 150, 243, 0.5);
}

.login-brand .brand-content .brand-features .feature-item:hover .feature-icon svg {
  stroke: #2196f3;
}

.login-brand .brand-content .brand-features .feature-item:hover .feature-text {
  color: #2196f3;
  text-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

.login-brand .brand-content .brand-features .feature-item .feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.login-brand .brand-content .brand-features .feature-item .feature-icon svg {
  width: 22px;
  height: 22px;
  transition: all 0.3s ease;
}

.login-brand .brand-content .brand-features .feature-item .feature-text {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.login-form-wrapper {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.login-form-wrapper::before, .login-form-wrapper::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.05;
  animation: floatEffect 20s infinite alternate;
}

.login-form-wrapper::before {
  background: rgba(25, 118, 210, 0.5);
  top: -100px;
  right: -100px;
}

.login-form-wrapper::after {
  background: rgba(63, 81, 181, 0.5);
  bottom: -100px;
  left: -100px;
  animation-delay: 10s;
}

.login-form-wrapper .login-form-container {
  padding: 40px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.login-form-wrapper .login-form-container .login-header {
  margin-bottom: 40px;
}

.login-form-wrapper .login-form-container .login-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
}

.login-form-wrapper .login-form-container .login-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 3px;
  background: #1976d2;
  transition: all 0.3s ease;
}

.login-form-wrapper .login-form-container .login-header h2:hover::after {
  width: 100%;
  background: linear-gradient(to right, #1976d2, #42a5f5);
}

.login-form-wrapper .login-form-container .login-header p {
  font-size: 16px;
  color: #a0a0a0;
  margin: 0;
}

.login-form-wrapper .login-form-container .login-header .login-error {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  font-size: 14px;
  animation: fadeInUp 0.3s ease;
}

.login-form-wrapper .login-form-container .login-form .ant-form-item {
  margin-bottom: 24px;
}

.login-form-wrapper .login-form-container .login-form .form-icon {
  color: #a0a0a0;
  transition: all 0.3s ease;
}

.login-form-wrapper .login-form-container .login-form .login-input {
  height: 50px;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.login-form-wrapper .login-form-container .login-form .login-input:focus, .login-form-wrapper .login-form-container .login-form .login-input:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2);
}

.login-form-wrapper .login-form-container .login-form .login-input:focus + .ant-input-prefix .form-icon, .login-form-wrapper .login-form-container .login-form .login-input:hover + .ant-input-prefix .form-icon {
  color: #1976d2;
}

.login-form-wrapper .login-form-container .login-form .login-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.login-form-wrapper .login-form-container .login-form .login-input.captcha-input {
  width: 65%;
}

.login-form-wrapper .login-form-container .login-form .captcha-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-form-wrapper .login-form-container .login-form .captcha-container .captcha-image-wrapper {
  width: 32%;
  height: 50px;
  margin-left: 3%;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.login-form-wrapper .login-form-container .login-form .captcha-container .captcha-image-wrapper:hover {
  box-shadow: 0 0 20px rgba(25, 118, 210, 0.4);
  transform: translateY(-2px);
}

.login-form-wrapper .login-form-container .login-form .captcha-container .captcha-image-wrapper:hover::after {
  opacity: 1;
}

.login-form-wrapper .login-form-container .login-form .captcha-container .captcha-image-wrapper::after {
  content: '点击刷新';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.2s;
}

.login-form-wrapper .login-form-container .login-form .captcha-container .captcha-image-wrapper .captcha-image {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.login-form-wrapper .login-form-container .login-form .captcha-container .captcha-image-wrapper .captcha-loading {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-form-wrapper .login-form-container .login-form .form-actions {
  margin-bottom: 0;
}

.login-form-wrapper .login-form-container .login-form .form-actions .forgot-btn {
  padding: 0;
  height: auto;
  line-height: 1.5;
  position: relative;
}

.login-form-wrapper .login-form-container .login-form .form-actions .forgot-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #42a5f5;
  transition: width 0.3s ease;
}

.login-form-wrapper .login-form-container .login-form .form-actions .forgot-btn:hover {
  text-decoration: none;
  color: #42a5f5;
}

.login-form-wrapper .login-form-container .login-form .form-actions .forgot-btn:hover::after {
  width: 100%;
}

.login-form-wrapper .login-form-container .login-form .login-submit-container {
  margin-top: 30px;
}

.login-form-wrapper .login-form-container .login-form .login-submit-container .login-btn {
  height: 50px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1976d2 0%, #3f51b5 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
  transition: all 0.3s ease;
}

.login-form-wrapper .login-form-container .login-form .login-submit-container .login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 3s infinite;
}

.login-form-wrapper .login-form-container .login-form .login-submit-container .login-btn span {
  margin-right: 8px;
  position: relative;
  z-index: 2;
}

.login-form-wrapper .login-form-container .login-form .login-submit-container .login-btn .btn-icon {
  font-size: 14px;
  transition: transform 0.2s;
  position: relative;
  z-index: 2;
}

.login-form-wrapper .login-form-container .login-form .login-submit-container .login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}

.login-form-wrapper .login-form-container .login-form .login-submit-container .login-btn:hover .btn-icon {
  transform: translateX(4px);
}

.login-form-wrapper .login-form-container .login-form .login-submit-container .login-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.login-form-wrapper .login-form-container .login-footer {
  margin-top: 40px;
}

.login-form-wrapper .login-form-container .login-footer .footer-divider {
  font-size: 14px;
}

.login-form-wrapper .login-form-container .login-footer .security-tips {
  text-align: center;
  font-size: 13px;
  color: #a0a0a0;
  margin-top: 16px;
}

.login-form-wrapper .login-form-container .login-footer .security-tips a {
  color: #42a5f5;
  position: relative;
}

.login-form-wrapper .login-form-container .login-footer .security-tips a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: #42a5f5;
  transition: width 0.3s ease;
}

.login-form-wrapper .login-form-container .login-footer .security-tips a:hover {
  text-decoration: none;
}

.login-form-wrapper .login-form-container .login-footer .security-tips a:hover::after {
  width: 100%;
}

.system-info {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #a0a0a0;
  font-size: 13px;
  z-index: 10;
}

.forgot-modal .ant-modal-content {
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.forgot-modal .ant-modal-content .ant-modal-header {
  background-color: #1e1e1e;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px 10px 0 0;
}

.forgot-modal .ant-modal-content .ant-modal-header .ant-modal-title {
  color: #ffffff;
}

.forgot-modal .ant-modal-content .ant-modal-close {
  color: #a0a0a0;
}

.forgot-modal .ant-modal-content .ant-modal-close:hover {
  color: #ffffff;
}

.forgot-modal .ant-modal-content .ant-modal-body {
  color: #a0a0a0;
}

.forgot-modal .ant-modal-content .ant-modal-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.2;
  }
  100% {
    transform: scale(1);
    opacity: 0.15;
  }
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatEffect {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.03;
  }
  50% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.06;
  }
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.03;
  }
}

@keyframes brandShine {
  0% {
    left: -100%;
    opacity: 0.7;
  }
  20% {
    left: 100%;
    opacity: 0.7;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes featureShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@media (max-width: 992px) {
  .login-content {
    flex-direction: column;
    height: auto;
    max-height: none;
    width: 450px;
  }
  .login-brand {
    height: 300px;
    padding: 30px;
  }
  .login-brand .brand-content .brand-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  .login-brand .brand-content .brand-title {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .login-brand .brand-content .brand-description {
    margin-bottom: 20px;
  }
  .login-brand .brand-content .brand-features {
    display: none;
  }
  .login-form-wrapper {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .login-content {
    width: 95%;
  }
  .login-brand {
    padding: 20px;
    height: 220px;
  }
  .login-form-wrapper .login-form-container {
    padding: 25px;
  }
  .login-form-wrapper .login-form-container .login-header h2 {
    font-size: 24px;
  }
}
